//可以将一些小的reducer合并成一个大的reducer
// import {combineReducers} from "redux";
import { reducer as headerReducer} from '../common/header/store';
import {reducer as homeReducer } from '../pages/home/store';
import {reducer as detailReducer} from '../pages/detail/store'
import {reducer as loginReducer} from '../pages/login/store'
//redux-immutable第三方模块提供了一个一样的combineReducers使reducer变成一个immutable对象
import{combineReducers} from 'redux-immutable'
const reducer = combineReducers({
    header:headerReducer,
    home:homeReducer,
    detail:detailReducer,
    login:loginReducer
});
export default reducer;
